// arg0 - radius
var _rad = argument0, _list=ds_list_create();
for(i=0;i<instance_number(Vehicle);i+=1)
{
    ii = instance_find(Vehicle, i);
    if (ii.team == team && ii.driver == noone)
    {
        dist = point_distance(ii.x, ii.y, x, y);
        if (dist < _rad)
        {
            return ii;
        }
    }
}
return noone;
